| Boards Supported | Analog Input (VL-MPEe-A1/A2)
Serial + GPIO (VL-MPEe-U2) |
| OS Version | Windows 7 (32-bit) |
VersaLogic is making no claims of usability, efficacy or warranty. Information in this document is provided in connection with VersaLogic products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. VersaLogic assumes no liability whatsoever, and VersaLogic disclaims any express or implied warranty relating to the sale and/or use of VersaLogic products, including liability or warranties relating to fitness for a particular purpose, merchantability or infringement of any patent, copyright or other intellectual property right. VersaLogic products are not intended for use in life-saving or life-sustaining applications.
VersaLogic disclaims all warranties and liabilities for the use of this document and the information contained herein, and assumes no responsibility for any errors which may appear in this document, nor does VersaLogic make a commitment to update the information contained herein. VersaLogic reserves the right to make changes to this document at any time without notice.
The VersaLogic Application Programming Interface (VersaAPI) software suite includes a number of components for use on 32-bit Windows 7.
This read-me file provides instructions for using this software library with applicable VersaLogic Mini PCIe modules, such as the Analog Input module (VL-MPEe-A1/A2) and the Serial + GPIO module (VL-MPEe-U2). Before you begin the installation, download the software zip file and extract its contents into a temporary directory. Take note of the location of the temporary directory for access during these instructions.



VersaAPI is now ready for use with Microsoft Visual Studio 2008 to develop applications that can take advantage of the analog-to-digital and digital I/O capabilities of VersaLogic Mini PCIe modules.
The API functions are defined in the supplied header file VL_OSALib.h. This header file must be included in your application to be able to call the API functions. Also, the supplied library file VL_OSALib.lib must be linked into your application. This will enable your application to access the API calls in the supplied Dynamic Link Library (DLL).
A typical sequence of calls would be:
VSL_Open
VSL_GetVersion
.
.
.
Some combination of:
VSL_DIOGetChannelLevel
VSL_DIOSetChannelLevel
VSL_DIOSetChannleDirection
And/or:
VSL_ADCSetAnalogInputRange
VSL_ADCGetAnalogInput
.
.
.
VSL_Close
VSL_GetADCType
See the header file for the function prototype and possible return values.Copyright © 2013 VersaLogic Corp. All rights reserved.